package views;

import javax.swing.JComponent;
import javax.swing.JFrame;

public class LaunchApp {

	public static void main(String[] args) {
		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				createAndShowGUI();
			}
		});
	}

	private static void createAndShowGUI() {
		try {
			JFrame frame = new JFrame("Type of Test: ");
			frame.setBounds(30, 30, 300, 300);
			frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			JComponent newContentPane = MainForm.formLayout();
			newContentPane.setOpaque(true); // content panes must be opaque
			frame.setContentPane(newContentPane);
			frame.pack();
			frame.setVisible(true);
		} catch (Exception ex) {
			throw new RuntimeException(ex);
		}
	}
}
